<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <a th:href="@{/emp(id=1)}">get emp</a><br>
    <hr/>
    <form th:action="@{/insert}" method="post">
        name:<input type="text" name="empName"><br>
        age:<input type="text" name="empAge"><br>
        <input type="submit" value="提交">
    </form>

</body>
</html>